%load_ext pretty_jupyter
The pretty_jupyter extension is already loaded. To reload it, use:
  %reload_ext pretty_jupyter
# import packages
import pandas as pd

About

This is the introduction to the Ocean InfoHub Release Graph.

Besides this HTML file we would want to package

  • PDF version of this
  • the graphs
  • the original Jupyter Notebook that builds the HTML and PDF
  • any JSON-LD frames or SHACL files used in generating this document

First Section

This is our first section. We use so called Jinja Markdown here. It allows us to combine Markdown with Python variables and makes for a more dynamic report.

We can for example print pandas version such as this: 1.4.3.

# we create a simple dataframe for demonstration purposes
data = pd.DataFrame({"col1": [1, 2, 3, 4], "col2": ["cat1", "cat2", "cat1", "cat2"]})

data.head()
col1 col2
0 1 cat1
1 2 cat2
2 3 cat1
3 4 cat2

Tabset Root

The content of this section will be shown as tabs. This will help us avoid potential scrolling and improve the HTML UI.

First Tab

In the first tab, we can show some graphs or tables. We can output the table like this:

col1 col2
0 1 cat1
1 2 cat2
2 3 cat1
3 4 cat2

Second Tab

In the second tab, we can do the same. Btw maths also works in the tabs.

Not a Tabset

This section will not be tabbed because it has the same level (or higher) as the Tabset Root.